package cn.fresh.xuanyuan.module.product.dal.dataobject.orchard;

import cn.fresh.xuanyuan.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@TableName(value = "supply_orchard", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrchardDO extends BaseDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String avatar;

    private String name;

    private String phone;

    private String contacts;

    private String province;

    private String city;

    private String area;

    private String address;

    private String code;

    private Integer status;

    private String categoryId;

    private String categoryName;

    private String remark;

    private String wxAccount;

    private Boolean selfOrchard;
}
